package com.demo.mybatisgen.model;

import java.io.Serializable;
import java.util.Date;

public class Course implements Serializable {
    private Long courseId;

    private String courseName;

    private String location;

    private String courseTime;

    private Date courseTimes;

    private Integer sort;

    /**
     * 班级id
     *
     * @mbg.generated
     */
    private Long classId;

    /**
     * 学期
     *
     * @mbg.generated
     */
    private String semester;

    private static final long serialVersionUID = 1L;

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getCourseTime() {
        return courseTime;
    }

    public void setCourseTime(String courseTime) {
        this.courseTime = courseTime;
    }

    public Date getCourseTimes() {
        return courseTimes;
    }

    public void setCourseTimes(Date courseTimes) {
        this.courseTimes = courseTimes;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }

    public String getSemester() {
        return semester;
    }

    public void setSemester(String semester) {
        this.semester = semester;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", courseId=").append(courseId);
        sb.append(", courseName=").append(courseName);
        sb.append(", location=").append(location);
        sb.append(", courseTime=").append(courseTime);
        sb.append(", courseTimes=").append(courseTimes);
        sb.append(", sort=").append(sort);
        sb.append(", classId=").append(classId);
        sb.append(", semester=").append(semester);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}